<?php if(!Zend_Auth::getInstance()->hasIdentity()) {?>

    <div class="gb-bar gb-nav">
        <div class="gb-nav-outer">
            <ul class="gb-hmenu">
                <li>
                    &nbsp;
                </li>
            </ul>
        </div>
    </div>
    
<? } else {?>
<?php
    $controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
?>

    <div class="gb-bar gb-nav">
        <div class="gb-nav-outer">
            <ul class="gb-hmenu">
                <li>
                    <a href="<?php echo $this->myUrl(array(), 'home'); ?>circulacion/index" <?php if($controllerName == 'circulacion') { echo 'class="active"';}?>>Circulación</a>
                </li>
                <li>
                    <a href="<?php echo $this->myUrl(array(), 'home'); ?>catalogacion/index" <?php if($controllerName == 'catalogacion') { echo 'class="active"';}?>>Catalogación</a>
                </li>	
                <li>
                    <a href="<?php echo $this->myUrl(array(), 'home'); ?>reportes/index" <?php if($controllerName == 'reportes') { echo 'class="active"';}?>>Reportes</a>
                </li>	
                <li>
                    <a href="#" <?php if($controllerName == 'administracion' || $controllerName == 'respaldos') { echo 'class="active"';}?>>Opciones</a>
                    <ul>
                        <li>
                            <a href="<?php echo $this->myUrl(array(), 'home'); ?>administracion/index">Administración</a>
                        </li>
                        <li>
                            <a href="<?php echo $this->myUrl(array(), 'home'); ?>respaldos/index">Respaldos</a>
                        </li>
                    </ul>
                </li>	
            </ul>
        </div>
    </div>
    
<?php }?>
    
<div class="cleared reset-box"></div>